﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AspNetCs.Model
{
    //新闻
    [Serializable]
    public class Article_Model
    {
        //新闻编号
        private int articleID = 0;

        public int ArticleID
        {
            get { return articleID; }
            set { articleID = value; }
        }

        //新闻标题
        private string title;

        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        //作者
        private string author;

        public string Author
        {
            get { return author; }
            set { author = value; }
        }

        //新闻来源
        private string copyFrom;

        public string CopyFrom
        {
            get { return copyFrom; }
            set { copyFrom = value; }
        }

        //是否是管理员
        private int isMaster = 0;

        public int IsMaster
        {
            get { return isMaster; }
            set { isMaster = value; }
        }

        //录入者
        private int editorId = 0;

        public int EditorId
        {
            get { return editorId; }
            set { editorId = value; }
        }

        //关键字
        private string keyWord;

        public string KeyWord
        {
            get { return keyWord; }
            set { keyWord = value; }
        }

        //点击数
        private int hits = 0;

        public int Hits
        {
            get { return hits; }
            set { hits = value; }
        }

        //修改时间
        private DateTime updateTime;

        public DateTime UpdateTime
        {
            get { return updateTime; }
            set { updateTime = value; }
        }

        //是否热点
        private int isHot = 0;

        public int IsHot
        {
            get { return isHot; }
            set { isHot = value; }
        }

        //是否置顶
        private int isTop = 0;

        public int IsTop
        {
            get { return isTop; }
            set { isTop = value; }
        }

        //是否推荐
        private int isCommend = 0;

        public int IsCommend
        {
            get { return isCommend; }
            set { isCommend = value; }
        }

        //是否通过
        private int isPassed = 0;

        public int IsPassed
        {
            get { return isPassed; }
            set { isPassed = value; }
        }

        //新闻内容
        private string content;

        public string Content
        {
            get { return content; }
            set { content = value; }
        }

        //是否包含图片
        private int includePic = 0;

        public int IncludePic
        {
            get { return includePic; }
            set { includePic = value; }
        }

        //默认图片路径
        private string defaultPicUrl;

        public string DefaultPicUrl
        {
            get { return defaultPicUrl; }
            set { defaultPicUrl = value; }
        }

        //阅读需要的点数
        private int readScore = 0;

        public int ReadScore
        {
            get { return readScore; }
            set { readScore = value; }
        }

        //新闻类别编号(对应ArticleClass表的ID)
        private int classID = 0;

        public int ClassID
        {
            get { return classID; }
            set { classID = value; }
        }

        //是否被删除过
        private int isDel = 0;

        public int IsDel
        {
            get { return isDel; }
            set { isDel = value; }
        }

        //标题字体颜色
        private string titleFontColor;

        public string TitleFontColor
        {
            get { return titleFontColor; }
            set { titleFontColor = value; }
        }


        //标题字体大小
        private int titleFontType = 0;

        public int TitleFontType
        {
            get { return titleFontType; }
            set { titleFontType = value; }
        }

        //标题字体是否加粗
        private int titleFontBlod = 0;

        public int TitleFontBlod
        {
            get { return titleFontBlod; }
            set { titleFontBlod = value; }
        }

        //标题字体是否倾斜
        private int titleFontIta = 0;

        public int TitleFontIta
        {
            get { return titleFontIta; }
            set { titleFontIta = value; }
        }

        //内容分页
        private int maxCharPerPage = 0;

        public int MaxCharPerPage
        {
            get { return maxCharPerPage; }
            set { maxCharPerPage = value; }
        }

        //评价次数
        private int appraiseNum = 0;

        public int AppraiseNum
        {
            get { return appraiseNum; }
            set { appraiseNum = value; }
        }

        //频道类型ID
        private int channelTypeID = 0;

        public int ChannelTypeID
        {
            get { return channelTypeID; }
            set { channelTypeID = value; }
        }

        //频道(标识墓陵、纪念馆类型)
        private int channelType = 0;

        public int ChannelType
        {
            get { return channelType; }
            set { channelType = value; }
        }
    }
}
